
<!DOCTYPE html>
<html lang="zh-CN" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>分类: 游戏 - 浪子之心</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="Blog,"> 
    <meta name="description" content="MrChen Bolg,"> 
    <meta name="author" content="Jack Chen"> 
    <link rel="alternative" href="atom.xml" title="浪子之心" type="application/atom+xml"> 
    <link rel="icon" href="/blog/img/favicon.png"> 
    
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css">

    
<link rel="stylesheet" href="/blog/css/diaspora.css">

<meta name="generator" content="Hexo 5.4.1"><link rel="stylesheet" href="/blog/css/prism.css" type="text/css"></head>

<body class="loading">
    <span id="config-title" style="display:none">浪子之心</span>
    <div id="loader"></div>
    <div class="nav">
    <ul id="menu-menu" class="menu">
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="//" title="首页" target="_blank" rel="noopener">首页</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/categories/" title="分类" target="_blank" rel="noopener">分类</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/tags/" title="标签" target="_blank" rel="noopener">标签</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/archives/" title="归档" target="_blank" rel="noopener">归档</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/about/" title="关于" target="_blank" rel="noopener">关于</a>
        </li>
        
    </ul>
	<span class="target"></span>
	<center>
	<div class="hitokoto">
		<span class="typed" id="hitokoto" data-st="true"></span>
	</div>
	</center>
	
	<p class="footerlinks">
		<a href="#" class="iconfont icon-null"></a>
		
            <a href="/blog/" title="facebook" class="iconfont icon-facebook" target="_blank" rel="noopener"> </a>
        
            <a href="/blog/" title="twitter" class="iconfont icon-twitter" target="_blank" rel="noopener"> </a>
        
            <a href="/blog/" title="github" class="iconfont icon-github" target="_blank" rel="noopener"> </a>
        
            <a href="/blog/img/logo.png" title="wechat" class="iconfont icon-wechat" target="_blank" rel="noopener"> </a>
        
            <a href="mailto:3093972221@qq.com" title="email" class="iconfont icon-email" target="_blank" rel="noopener"> </a>
        
		<a href="#" class="iconfont icon-null"></a>
	</p>
	
    <p id="copyright">
        &copy; 2022 Jack Chen.
        <span> | </span>Powered by <a href="https://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
        <span> | </span>Theme <a href="https://github.com/Fechin/hexo-theme-diaspora" title="Diaspora" target="_blank" rel="noopener">Diaspora</a> by Fechin
		
    </p>
</div>

<div id="container">
    
<div id="screen">
    <div id="mark">
        <div class="layer" data-depth="0.4">
            <img src="/blog/img/write-blog-tools.jpeg" id="cover" crossorigin="anonymous" width="1920" height="1080">
        </div>
    </div>
    <div id="vibrant">
        <svg viewBox="0 0 2880 1620" height="100%" preserveAspectRatio="xMaxYMax slice">
            <polygon opacity="0.7" points="2000,1620 0,1620 0,0 600,0 "/>
        </svg>
        <div></div>
    </div>
    <div id="header">
        <div>
            <a class="image-logo" href="/"></a>
			
			<div class="iconfont icon-search switchsearch" href="/search/" title="搜索"></div>
			
            <div class="iconfont icon-menu switchmenu"></div>
        </div>
    </div>
    
    <div id="post0">
        <p>十一月 06, 2022</p>
        <h2><a href="/blog/2022/11/06/%E6%B8%B8%E6%88%8F%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%AD%A6%E4%B9%A0/" title="游戏服务器学习" class="posttitle">游戏服务器学习</a></h2>
        <p class="summary">游戏大厅棋牌类大厅
MMORPG大厅
大厅功能（1）服务器启动，等待客户端连入
（2）维护一个当前所有连入的客户端...</p>
    </div>
    
</div>

    <div id="primary">
        
<div class="post">
    <a href="/blog/2022/10/15/%E7%BD%91%E7%BB%9C%E9%83%A8%E5%88%86%E7%9F%A5%E8%AF%86%E5%BC%80%E5%8F%91%E5%92%8C%E5%BA%94%E7%94%A8/" title="网络部分知识开发和应用">
        <img src="http://mrchenlearnspace.gitee.io/image/22.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>十月 15, 2022</p>
        <h3><a href="/blog/2022/10/15/%E7%BD%91%E7%BB%9C%E9%83%A8%E5%88%86%E7%9F%A5%E8%AF%86%E5%BC%80%E5%8F%91%E5%92%8C%E5%BA%94%E7%94%A8/" title="网络部分知识开发和应用" class="posttitle">网络部分知识开发和应用</a></h3>
        <p>网络模型socket结构
iocp（Input&#x2F;output completion port）SocketAPI输入&#x2F;输出完成端口，常...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/09/27/Games104%E7%BD%91%E7%BB%9C%E5%9F%BA%E7%A1%80%E9%83%A8%E5%88%86/" title="Games104网络基础部分">
        <img src="http://mrchenlearnspace.gitee.io/image/33.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>九月 27, 2022</p>
        <h3><a href="/blog/2022/09/27/Games104%E7%BD%91%E7%BB%9C%E5%9F%BA%E7%A1%80%E9%83%A8%E5%88%86/" title="Games104网络基础部分" class="posttitle">Games104网络基础部分</a></h3>
        <p>面临的挑战实现网络物体一致
网络延迟 网络掉线和重连
反作弊和防信息泄露
对于不同设备连接和实现同步 多个游戏的子系统实现同步
承载更多的用户高并发 高可...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/07/08/%E5%9C%B0%E5%BD%A2%E7%B3%BB%E7%BB%9FShader%E5%AD%A6%E4%B9%A0/" title="地形系统Shader学习">
        <img src="http://mrchenlearnspace.gitee.io/image/6.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>七月 08, 2022</p>
        <h3><a href="/blog/2022/07/08/%E5%9C%B0%E5%BD%A2%E7%B3%BB%E7%BB%9FShader%E5%AD%A6%E4%B9%A0/" title="地形系统Shader学习" class="posttitle">地形系统Shader学习</a></h3>
        <p>基于混合因子的地形材质混合取第一套UV
取第一层材质的数据同样取出其他的材质， layer2，layer3.
使用顶点色材质的使用量HeightLerp输...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/07/08/Games104%E6%80%BB%E7%BB%93%E7%B2%92%E5%AD%90%E7%B3%BB%E7%BB%9F%E5%92%8C%E5%A3%B0%E6%95%88/" title="Games104总结粒子系统和声效">
        <img src="http://mrchenlearnspace.gitee.io/image/34.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>七月 08, 2022</p>
        <h3><a href="/blog/2022/07/08/Games104%E6%80%BB%E7%BB%93%E7%B2%92%E5%AD%90%E7%B3%BB%E7%BB%9F%E5%92%8C%E5%A3%B0%E6%95%88/" title="Games104总结粒子系统和声效" class="posttitle">Games104总结粒子系统和声效</a></h3>
        <p>粒子系统属性坐标，初速度，大小，颜色，生命周期，…
粒子的生命周期
如果控制失败就会出现粒子越来越多，使系统资源殆尽
粒子的发射器指定生成规则，指定仿真逻...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/07/07/%E9%A3%8E%E6%A0%BC%E5%8C%96%E6%B0%B4%E4%BD%93%E6%B8%B2%E6%9F%93/" title="风格化水体渲染">
        <img src="http://mrchenlearnspace.gitee.io/image/7.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>七月 07, 2022</p>
        <h3><a href="/blog/2022/07/07/%E9%A3%8E%E6%A0%BC%E5%8C%96%E6%B0%B4%E4%BD%93%E6%B8%B2%E6%9F%93/" title="风格化水体渲染" class="posttitle">风格化水体渲染</a></h3>
        <p>水体属性水体深度从深度图获取水下顶点的世界坐标，与水面顶点坐标相减得到当前顶点的水深度。
水体颜色当深水区时使用较深的颜色且透明的调为不透明，浅水区可以浅...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/07/04/%E9%9B%BE%E6%95%88/" title="雾效">
        <img src="http://mrchenlearnspace.gitee.io/image/23.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>七月 04, 2022</p>
        <h3><a href="/blog/2022/07/04/%E9%9B%BE%E6%95%88/" title="雾效" class="posttitle">雾效</a></h3>
        <p>距离雾计算出顶点与摄像机的距离将范围映射到雾效范围中。
高度雾将距离雾中的距离改变为顶点坐标的y坐标。
太阳光对雾效的影响
全局雾效 通过深度图进行后处理...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/07/04/%E5%A4%A9%E7%A9%BA%E7%9B%92%E5%92%8C%E6%B0%B4%E9%9D%A2%E6%B8%B2%E6%9F%93/" title="天空盒和水面渲染">
        <img src="http://mrchenlearnspace.gitee.io/image/20.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>七月 04, 2022</p>
        <h3><a href="/blog/2022/07/04/%E5%A4%A9%E7%A9%BA%E7%9B%92%E5%92%8C%E6%B0%B4%E9%9D%A2%E6%B8%B2%E6%9F%93/" title="天空盒和水面渲染" class="posttitle">天空盒和水面渲染</a></h3>
        <p>天空球防止被相机裁剪
12345#if UNITY_REVERSED_Z    o.vertex.z = o.vertex.w * 0.000001f;#...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/05/11/%E4%BA%BA%E7%89%A93%E6%B8%B22%E5%AD%A6%E4%B9%A0%E6%80%BB%E7%BB%93/" title="人物3渲2学习总结">
        <img src="http://mrchenlearnspace.gitee.io/image/14.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>五月 11, 2022</p>
        <h3><a href="/blog/2022/05/11/%E4%BA%BA%E7%89%A93%E6%B8%B22%E5%AD%A6%E4%B9%A0%E6%80%BB%E7%BB%93/" title="人物3渲2学习总结" class="posttitle">人物3渲2学习总结</a></h3>
        <p>描边法线外扩法中文一般称为“法线外扩法”、“背面膨胀法”，日文资料中会称作「背面法」，它们指的是同一个技术
解决方式第一个Pass：正常打光和绘制第二个P...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/04/30/houdini%E5%AF%BC%E5%85%A5%E6%B8%B2%E6%9F%93%E9%A1%B6%E7%82%B9%E5%8A%A8%E7%94%BB%E6%B5%81%E5%8A%A8%E5%9B%BE%E7%89%87/" title="houdini导入渲染顶点动画流动图片">
        <img src="http://mrchenlearnspace.gitee.io/image/36.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>四月 30, 2022</p>
        <h3><a href="/blog/2022/04/30/houdini%E5%AF%BC%E5%85%A5%E6%B8%B2%E6%9F%93%E9%A1%B6%E7%82%B9%E5%8A%A8%E7%94%BB%E6%B5%81%E5%8A%A8%E5%9B%BE%E7%89%87/" title="houdini导入渲染顶点动画流动图片" class="posttitle">houdini导入渲染顶点动画流动图片</a></h3>
        <p>VAT动画材料行代表顶点，列代表帧需要每个顶点从左到右循环偏移顶点即可
时间推移
合成流动的UV
核心
扩展：约数函数floor取小的那个数，floor(...</p>
    </div>
</div>


    </div>
    
    <div id="pager"><a href="/blog/categories/%E6%B8%B8%E6%88%8F/page/2/" class="more">加载更多</a></div>
    
</div>
<div id="preview"></div>




</body>

<script src="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script>


<script src="//lib.baomitu.com/jquery/1.8.3/jquery.min.js"></script>
<script src="/blog/js/plugin.js"></script>
<script src="/blog/js/typed.js"></script>
<script src="/blog/js/diaspora.js"></script>


<link rel="stylesheet" href="/blog/photoswipe/photoswipe.css">
<link rel="stylesheet" href="/blog/photoswipe/default-skin/default-skin.css">


<script src="/blog/photoswipe/photoswipe.min.js"></script>
<script src="/blog/photoswipe/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>



<script type="text/x-mathjax-config">
    MathJax.Hub.Config({"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50) },
        tex2jax: { inlineMath: [ ["$", "$"], ["\\(","\\)"] ], processEscapes: true, ignoreClass: "tex2jax_ignore|dno",skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']},
        TeX: {  noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } }, Macros: { href: "{}" } },
        messageStyle: "none"
    });
</script>
<script type="text/x-mathjax-config">
    MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for(i=0; i < all.length; i += 1) {
            all[i].SourceElement().parentNode.className += ' has-jax';
        }
    });
</script>

<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>



<!-- Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YMJ8CBH8F7"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-YMJ8CBH8F7');
</script>
<!-- End Google Analytics -->


</html>
